﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PW_kalendarz
{
    class CustomEventWithRate : CustomEvent
    {
        public int rate { get; set; }

        public CustomEventWithRate(String eventName, String userLogin, int date, int startHour, int endHour, int rate)
            : base(eventName, userLogin, date, startHour, endHour)
        {
            this.rate = rate;
        }

        public CustomEventWithRate(CustomEvent c) : base(c.EventName, c.UserLogin, c.Date, c.StartHour, c.EndHour)
        {
        
        }
    }
}
